package com.sh.data.engine.application.model.mapper.workspace;

import com.sh.data.engine.application.model.dto.workspace.ProjectDTO;
import com.sh.data.engine.application.model.dto.workspace.StorageDTO;
import com.sh.data.engine.domain.workspace.index.model.domain.ProjectDomain;
import com.sh.data.engine.domain.workspace.manager.model.domain.StorageDetailDomain;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface StorageDTODomainMapper {

    StorageDetailDomain map(StorageDTO storageDTO);

    List<StorageDetailDomain> map(List<StorageDTO> projectDTO);
}
